<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="/js/vue.js"></script>
</head>
<body>
    <div id="app">
        <textarea v-model="message"></textarea>
    </div>
    <script>
        var vm=new Vue({
            el:'#app',
            data:{
                message:'Vie.js从入门到精通'
            }
        });
        //可以通过<textarea>标签定义一个多行的文本输入控件，结合v-model指令实现多行文本输入框与数据属性message双向绑定
    </script>
</body>
</html>